package com.atguigu.gmall.user.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;

/**
 * @author lfy
 * @Description
 * @create 2023-07-28 9:51
 */
@Data
public class LoginParamVo {
    @Length(min = 5,message = "账号最少5个字符")
    @NotEmpty(message = "账号必须填写")
    private String loginName;

    @NotEmpty(message = "密码必须填写")
    private String passwd;
}
